﻿<basis:BaseWindow 
    xmlns:my="clr-namespace:SaryaAccounting.ModuleMenu" 
    x:Class="SaryaAccounting.MainWindow"
    xmlns:basis="clr-namespace:Tanmia.Basis.Prism;assembly=Tanmia.Basis"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:regions="http://www.codeplex.com/prism"
    regions:RegionManager.RegionName="WindowRegion"
    MinWidth="700" MinHeight="450">
    <Grid>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="Auto" />
            <ColumnDefinition />
        </Grid.ColumnDefinitions>
        <Grid.RowDefinitions>
            <RowDefinition  />
            <RowDefinition Height="Auto" />
        </Grid.RowDefinitions>
        <my:ModuleNavigatorControl Grid.Column="0" Grid.Row="0" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" />
        <TabControl Grid.Column="1" Grid.Row="0" Name="MainRegion" regions:RegionManager.RegionName="MainRegion" regions:RegionManager.RegionContext="{Binding Path=BrowserInfo}" ItemContainerStyle="{StaticResource HeaderStyle}" HorizontalAlignment="Stretch"  VerticalAlignment="Stretch">
        </TabControl>

        <TextBlock x:Name="tbStatus" Grid.Column="0" Grid.ColumnSpan="2" Grid.Row="1" Text="Ready." />
        <!--<StatusBar Grid.RowSpan="2" Height="23" HorizontalAlignment="Left" Margin="10,10,0,0" Name="statusBar1" VerticalAlignment="Top" Width="120" />-->
    </Grid>
</basis:BaseWindow>
